package com.TwinBlade.PicturePassword;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.os.Bundle;
import android.preference.PreferenceManager;

public class LicenseReceiver extends BroadcastReceiver
{
  public void onReceive(Context paramContext, Intent paramIntent)
  {
    if (paramIntent.getAction().equals("com.TwinBlade.PicturePassword.LVL_CHECK_RETURN"));
    while (true)
    {
      try
      {
        boolean bool2 = bd.a(paramContext, paramContext.getPackageManager());
        if (bool2)
        {
          i = 1;
          if (i == 0)
            return;
        }
      }
      catch (Exception localException)
      {
        i = 0;
        continue;
        Bundle localBundle = paramIntent.getExtras();
        boolean bool1 = false;
        if (localBundle != null)
          bool1 = localBundle.getBoolean("ALLOW");
        PreferenceManager.getDefaultSharedPreferences(paramContext).edit().putBoolean("LVL", bool1).commit();
        return;
      }
      int i = 0;
    }
  }
}

/* Location:           D:\Studium\Bachelorarbeit\BA Marcus Wobig\BA\BA\Decompiler\PicturePassword APK\Programm\PicturePassword_dex2jar.jar
 * Qualified Name:     com.TwinBlade.PicturePassword.LicenseReceiver
 * JD-Core Version:    0.6.2
 */